package one.stand.service;

import com.alibaba.fastjson.JSON;
import one.stand.OneCrmServiceApplicationTests;
import one.stand.request.FollowRecordRequest;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.TestConfiguration;

@TestConfiguration
public class FollowRecord extends OneCrmServiceApplicationTests {
    @Autowired
    FollowRecordService followRecordService;
    @Test
    public void getFollowList(){
        FollowRecordRequest recordRequest=new FollowRecordRequest();
        recordRequest.setPageNum(1);
        recordRequest.setPageSize(10);
        recordRequest.setCardId(24);
        System.err.println(JSON.toJSON(followRecordService.getFollowList(recordRequest)));

    }

}
